<?php

return [
    // kuerp module menu - organized by hierarchy
    'kuerp' => [
        'title' => 'Inventory Management',
        'children' => [
            // Purchase module
            'purchase' => [
                'title' => 'Purchase',
                'children' => [
                    'goods_purchase' => [
                        'title' => 'Purchase Order Form',
                    ],
                    'goods_purchase_order' => [
                        'title' => 'Purchase Order',
                    ],
                    'goods_purchase_info' => [
                        'title' => 'Product Purchase Details',
                    ],
                    'goods_purchase_order_info' => [
                        'title' => 'Purchase Order Details',
                    ],
                    'goods_purchase_summary' => [
                        'title' => 'Purchase Summary Management',
                    ],
                    'goods_purchase_summarys' => [
                        'title' => 'Purchase Summary Management',
                    ],
                    'goods_exchange' => [
                        'title' => 'Purchase Return Order',
                    ],
                    'goods_exchange_info' => [
                        'title' => 'Return Details',
                    ],
                    'cost' => [
                        'title' => 'Purchase and Sales Expense List',
                    ],
                    'payment' => [
                        'title' => 'Payment Order',
                    ],
                    'payment_log' => [
                        'title' => 'Purchase Payment Overview Management',
                    ],
                    'invoicing' => [
                        'title' => 'Purchase Invoicing Management',
                    ],
                    'invoicing_log' => [
                        'title' => 'Purchase Invoicing Management',
                    ],
                ]
            ],
            
            // Sales module
            'sales' => [
                'title' => 'Sales',
                'children' => [
                    'goods_sales' => [
                        'title' => 'Sales Order Form',
                    ],
                    'goods_sales_order' => [
                        'title' => 'Sales Order',
                    ],
                    'goods_sales_info' => [
                        'title' => 'Product Sales Details',
                    ],
                    'goods_sales_order_info' => [
                        'title' => 'Sales Order Details',
                    ],
                    'goods_sales_exchange' => [
                        'title' => 'Sales Return Order',
                    ],
                    'goods_sales_exchange_info' => [
                        'title' => 'Return Details',
                    ],
                    'goods_sales_profit' => [
                        'title' => 'Sales Profit Management',
                    ],
                    'goods_sales_summary' => [
                        'title' => 'Sales Summary Management',
                    ],
                    'goods_sales_summaryc' => [
                        'title' => 'Sales Summary Management',
                    ],
                    'goods_sales_summarys' => [
                        'title' => 'Sales Summary Management',
                    ],
                    'collection' => [
                        'title' => 'Collection Order',
                    ],
                    'sales_invoicing' => [
                        'title' => 'Sales Invoicing Management',
                    ],
                    'sales_invoicing_log' => [
                        'title' => 'Sales Invoicing Management',
                    ],
                    'sales_payment_log' => [
                        'title' => 'Sales Collection Overview Management',
                    ],
                    'salesprofit' => [
                        'title' => 'Sales Profit Statement',
                    ],
                ]
            ],
            
            // Warehouse module
            'warehouse' => [
                'title' => 'Warehouse',
                'children' => [
                    'stores' => [
                        'title' => 'Warehouse Management',
                    ],
                    'warehouse' => [
                        'title' => 'Other Stock Out Order',
                    ],
                    'warehousing' => [
                        'title' => 'Other Stock In Order',
                    ],
                    'inventory' => [
                        'title' => 'Inventory Check',
                    ],
                    'inventory_serial' => [
                        'title' => 'Serial Number Inventory',
                    ],
                    'goods_stock' => [
                        'title' => 'Product Stock Management',
                    ],
                    'goods_batch_stock' => [
                        'title' => 'Product Batch Stock Management',
                    ],
                    'goods_log' => [
                        'title' => 'Product Receipt and Issue Details Management',
                    ],
                    'goods_log_summary' => [
                        'title' => 'Product Receipt and Issue Summary',
                    ],
                    'goods_batch' => [
                        'title' => 'Product Batch Management',
                    ],
                    'goods_batch_info' => [
                        'title' => 'Product Batch Details Management',
                    ],
                    'goods_batch_log' => [
                        'title' => 'Batch Tracking Management',
                    ],
                    'goods_serial' => [
                        'title' => 'Product Serial',
                    ],
                    'goods_serial_log' => [
                        'title' => 'Product Serial Tracking Number',
                    ],
                    'goods_serial_status' => [
                        'title' => 'Product Serial Status',
                    ],
                    'auxiliary' => [
                        'title' => 'Product Auxiliary Attributes',
                    ],
                    'unit' => [
                        'title' => 'Unit Management',
                    ],
                    'unit_conversion' => [
                        'title' => 'Unit Conversion',
                    ],
                    'goods_type' => [
                        'title' => 'Default Title',
                    ],
                ]
            ],
            
            // Retail module
            'retail' => [
                'title' => 'Retail',
                'children' => [
                    // Retail menu items to be completed
                ]
            ],
            
            // Finance module
            'finance' => [
                'title' => 'Finance',
                'children' => [
                    'accounts' => [
                        'title' => 'Account Management',
                    ],
                    'accounts_log' => [
                        'title' => 'Account Record Management',
                    ],
                    'accounts_transfer' => [
                        'title' => 'Fund Transfer Order',
                    ],
                    'income' => [
                        'title' => 'Other Income Order',
                    ],
                    'expenditure' => [
                        'title' => 'Other Expense Order',
                    ],
                    'income_type' => [
                        'title' => 'Income Category Management',
                    ],
                    'expend_type' => [
                        'title' => 'Expense Category Management',
                    ],
                    'settlementtype' => [
                        'title' => 'Settlement Type Management',
                    ],
                    'payment_account' => [
                        'title' => 'Payment Account',
                    ],
                    'third_account' => [
                        'title' => 'Third Account Management',
                    ],
                ]
            ],
            
            // Data module
            'data' => [
                'title' => 'Data',
                'children' => [
                    'goods' => [
                        'title' => 'Product Management',
                    ],
                    'customers' => [
                        'title' => 'Customer Management',
                    ],
                    'suppliers' => [
                        'title' => 'Supplier Management',
                    ],
                    'customerlevel' => [
                        'title' => 'Customer Level',
                    ],
                    'customertype' => [
                        'title' => 'Default Title',
                    ],
                    'supplyertype' => [
                        'title' => 'Default Title',
                    ],
                    'staff_member' => [
                        'title' => 'Staff Management',
                    ],
                    'driver' => [
                        'title' => 'Driver Management',
                    ],
                    'address' => [
                        'title' => 'Shipping Address Management',
                    ],
                    'customer_goodscoding' => [
                        'title' => 'Customer Material Code',
                    ],
                    'suppliers_user' => [
                        'title' => 'Supplier Contact',
                    ],
                    'prefix' => [
                        'title' => 'Prefix Setting',
                    ],
                ]
            ],
            
            // Settings module
            'settings' => [
                'title' => 'Settings',
                'children' => [
                    'sets' => [
                        'title' => 'Settings',
                    ],
                    'user_sets' => [
                        'title' => 'Settings',
                    ],
                    'datainfo' => [
                        'title' => 'Data Management',
                    ],
                    'prints' => [
                        'title' => 'Print',
                    ],
                    'banner' => [
                        'title' => 'Banner Management',
                    ],
                    'checkout' => [
                        'title' => 'Close/Reopen Accounts',
                    ],
                    'initialization' => [
                        'title' => 'Reinitialize',
                    ],
                ]
            ],
            
            // Order module
            'order' => [
                'title' => 'Order',
                'children' => [
                    'user_order' => [
                        'title' => 'User Order',
                    ],
                ]
            ],
            
            // Other unclassified items
            'accounts_copewith' => [
                'title' => 'Accounts Payable Details Management',
            ],
            'accounts_receivable' => [
                'title' => 'Accounts Receivable Details Management',
            ],
            'customers_recon' => [
                'title' => 'Customer Statement',
            ],
            'suppliers_recon' => [
                'title' => 'Supplier Statement',
            ],
            'profit' => [
                'title' => 'Profit Statement',
            ],
            'intercourse' => [
                'title' => 'Business Unit Arrears',
            ],
            'assemble' => [
                'title' => 'Assembly Order',
            ],
            'assemble_temp' => [
                'title' => 'Assembly Order Template',
            ],
            'split' => [
                'title' => 'Disassembly Order',
            ],
            'split_temp' => [
                'title' => 'Disassembly Order Template',
            ],
            'replenishment' => [
                'title' => 'Smart Replenishment',
            ],
            'purchaseby' => [
                'title' => 'Purchase by Sales',
            ],
            'writeoff' => [
                'title' => 'Write Off Order',
            ],
            'writeoff_log' => [
                'title' => 'Writeoff Document Information',
            ],
            'kuerp_user' => [
                'title' => 'User',
            ],
        ]
    ]
];